package com.tank.service.impl;

import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.tank.bean.item.Item;
import com.tank.bean.item.Talk;
import com.tank.dao.ItemDAO;
import com.tank.service.HomeService;
import com.tank.util.Pager;
import com.tank.util.TankUtil;

@Repository("homeService")
public class HomeServiceImpl  implements HomeService {

	@Autowired
	@Qualifier("itemDao")
	ItemDAO dao;
	
	public Pager listItem(Item item) {
		return	dao.findCareItemList(item==null?"care":item.getContent());
	}

	

}
